package com.biscuit.page.basicservice.api.model.request.authorization;

import com.biscuit.common.base.BaseAMO;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author biscuit
 * @createTime 2024/5/22 8:45
 */
@Getter
@Setter
public class AuthorizationAReq extends BaseAMO {

    @ApiModelProperty(value = "登录方式，1邮箱/手机号-密码，2邮箱/手机号-验证码登录，3注册并登录")
    private Integer loginType;

    @ApiModelProperty(value = "账号类型， 邮箱/手机号")
    private String account;

    @ApiModelProperty(value = "验证码")
    private String verifyCode;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "重复密码")
    private String verifyPassword;

    @JsonIgnore
    @ApiModelProperty(value = "账号类型（1邮箱，2手机号）")
    private Integer accountType;

}
